package high.concurrent.enums;

/**
 * Author 黄保泽
 * 描述 :
 */
public enum MsgEnum {

    /**
     * Not paycreate order status enum.
     */
    ORDER(1, "order"),

    AUTH(2, "auth"),

    WEBBAR(3, "webbar");

    private int code;

    private String desc;

    MsgEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    /**
     * Gets code.
     *
     * @return the code
     */
    public int getCode() {
        return code;
    }

    /**
     * Sets code.
     *
     * @param code the code
     */
    public void setCode(int code) {
        this.code = code;
    }

    /**
     * Gets desc.
     *
     * @return the desc
     */
    public String getDesc() {
        return desc;
    }

    /**
     * Sets desc.
     *
     * @param desc the desc
     */
    public void setDesc(String desc) {
        this.desc = desc;
    }
}
